package cc.rengu.igas.momp.common.util;

import cc.rengu.igas.momp.common.constant.CommonConstant;
import cc.rengu.oltp.utility.util.StringUtil;

import java.math.BigDecimal;
import java.text.DecimalFormat;

/**
 * 公共工具方法
 *
 * @author liujinan
 * @since 2020/8/2 9:01
 */

public class MompToolUtil {
    /**
     * 从右截取指定位置字符串
     *
     * @param param
     * @param start
     * @param end
     * @return
     */
    public static String getAppoint(String param, int start, int end) {
        param = String.valueOf(new StringBuffer(param).reverse());
        param = String.valueOf(new StringBuffer(param.substring(start, end)).reverse());
        return param;
    }

}
